package com.youpai.platform.wallet.service.biz.impl;

import com.youpai.platform.wallet.service.biz.TransactionBizService;
import com.youpai.platform.wallet.service.service.WalletService;
import com.youpai.platform.wallet.web.entity.dto.ChangeCoinReq;
import com.youpai.platform.wallet.web.entity.resp.ChangeCoinResp;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @date: 2023/2/26
 * @author: Welles
 * @version: 1.0
 * @description: 交易业务service
 */
@Component
public class TransactionBizServiceImpl implements TransactionBizService {

    @Resource
    private WalletService walletService;

    @Override
    public ChangeCoinResp changeCoin(ChangeCoinReq changeCoinReq) {
        return walletService.changeCoin(changeCoinReq);
    }

}
